package com.cn.wanxi.model;

import java.util.List;

public class PageBean<T> {
    private int page;// 当前页码page code
    //    private int tp;// 总页数total page---不需要了，只需get得到
    private int count;// 总记录数total record
    private int pageSize;// 每页记录数page size
    private List<T> list;// 当前页的记录

    private String url;//它就是url后的条件！/back/user/findAll?username=supeng&age=18

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
